/*! HTML5 Shiv pre3.5 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 
    Uncompressed source: https://github.com/aFarkas/html5shiv */
(function(N,M){function G(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;
return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild)
}function F(){var b=C.elements;
return typeof b=="string"?b.split(" "):b
}function E(e){var d={},j=e.createElement,i=e.createDocumentFragment,h=i();
e.createElement=function(b){C.shivMethods||j(b);
var c;
return d[b]?c=d[b].cloneNode():J.test(b)?c=(d[b]=j(b)).cloneNode():c=j(b),c.canHaveChildren&&!K.test(b)?h.appendChild(c):c
},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+F().join().replace(/\w+/g,function(b){return d[b]=j(b),h.createElement(b),'c("'+b+'")'
})+");return n}")(C,h)
}function D(d){var c;
return d.documentShived?d:(C.shivCSS&&!I&&(c=!!G(d,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),H||(c=!E(d)),c&&(d.documentShived=c),d)
}function y(h){var g,l=h.getElementsByTagName("*"),k=l.length,j=RegExp("^(?:"+F().join("|")+")$","i"),i=[];
while(k--){g=l[k],j.test(g.nodeName)&&i.push(g.applyElement(x(g)))
}return i
}function x(g){var f,j=g.attributes,i=j.length,h=g.ownerDocument.createElement(A+":"+g.nodeName);
while(i--){f=j[i],f.specified&&h.setAttribute(f.nodeName,f.nodeValue)
}return h.style.cssText=g.style.cssText,h
}function w(h){var g,l=h.split("{"),k=l.length,j=RegExp("(^|[\\s,>+~])("+F().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),i="$1"+A+"\\:$2";
while(k--){g=l[k]=l[k].split("}"),g[g.length-1]=g[g.length-1].replace(j,i),l[k]=g.join("}")
}return l.join("{")
}function v(d){var c=d.length;
while(c--){d[c].removeNode()
}}function u(g){var f,j,i=g.namespaces,h=g.parentWindow;
return !z||g.printShived?g:(typeof i[A]=="undefined"&&i.add(A),h.attachEvent("onbeforeprint",function(){var q,p,o,n=g.styleSheets,m=[],c=n.length,b=Array(c);
while(c--){b[c]=n[c]
}while(o=b.pop()){if(!o.disabled&&B.test(o.media)){for(q=o.imports,c=0,p=q.length;
c<p;
c++){b.push(q[c])
}try{m.push(o.cssText)
}catch(a){}}}m=w(m.reverse().join("")),j=y(g),f=G(g,m)
}),h.attachEvent("onafterprint",function(){v(j),f.removeNode(!0)
}),g.printShived=!0,g)
}var L=N.html5||{},K=/^<|^(?:button|form|map|select|textarea|object|iframe)$/i,J=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,I,H;
(function(){var a=M.createElement("a");
a.innerHTML="<xyz></xyz>",I="hidden" in a,I&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(c){c.hidden=!0,I=(N.getComputedStyle?getComputedStyle(c,null):c.currentStyle).display=="none"
}),H=a.childNodes.length==1||function(){try{M.createElement("a")
}catch(b){return !0
}var d=M.createDocumentFragment();
return typeof d.cloneNode=="undefined"||typeof d.createDocumentFragment=="undefined"||typeof d.createElement=="undefined"
}()
})();
var C={elements:L.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:L.shivCSS!==!1,shivMethods:L.shivMethods!==!1,type:"default",shivDocument:D};
N.html5=C,D(M);
var B=/^$|\b(?:all|print)\b/,A="html5shiv",z=!H&&function(){var a=M.documentElement;
return typeof M.namespaces!="undefined"&&typeof M.parentWindow!="undefined"&&typeof a.applyElement!="undefined"&&typeof a.removeNode!="undefined"&&typeof N.attachEvent!="undefined"
}();
C.type+=" print",C.shivPrint=u,u(M)
})(this,document);